package component.controls.loader
{
	import flash.events.Event;
	
	public class LoaderEvent extends Event
	{
		public static const QUEUE_COMPLETE:String = "quere_complete";
		public static const COMPLETE:String = "complete";
		public static const PROGRESS:String = "progress";
		public static const ERROR:String = "error";
		
		public function LoaderEvent(type:String, $loader:BaseLoader = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			loader = $loader;
			super(type, bubbles, cancelable);
		}
		
		public var loader:BaseLoader;
	}
}